﻿using System;

namespace Sustainalytics.News.BusinessLogic
{
    public class NotificationNotValidException : Exception
    {
        public NotificationValidationException[] ValidationErrors { get; set; }

        public NotificationNotValidException(NotificationValidationException[] validationErrors)
        {
            this.ValidationErrors = validationErrors;
        }
    }
}
